﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace F2S.LINQ2LinkedIn.Model
{
    [XmlRoot("member-groups")]
    public class MemberGroupsCollection
    {
        [XmlAttribute("total")]
        public long Total { get; set; }

        [XmlElement("member-group")]
        public MemberGroup[] MemberGroups { get; set; }
    }

    /*
     * 
             <member-groups total="1">
          <member-group>
            <id>4303221</id>
            <name>Google Apps Certified Sales Specialist</name>
            <site-group-request>
              <url>http://www.linkedin.com/groups?gid=4303221</url>
            </site-group-request>
          </member-group>
        </member-groups>
*/
}
